var express = require('express');
var router = express.Router();

const { loginAdmin,getAdminsList,deleteOneAdmin,addOneAdmin,getOneAdmin,updateOneAdmin } = require('../controllers/admins');

router.post("/adminLogin", loginAdmin)
router.post("/getAdminsList", getAdminsList)
router.delete("/deleteOneAdmin", deleteOneAdmin)
router.post("/addOneAdmin", addOneAdmin)
router.post("/getOneAdmin", getOneAdmin)
router.post("/updateOneAdmin", updateOneAdmin)
module.exports = router;
